package wfw.cn.ktcmanager;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;
import wfw.cn.ktc_common.unit.JwtUtil;

@SpringBootApplication
@EnableZuulProxy
@EnableEurekaClient
public class KtcManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(KtcManagerApplication.class, args);
    }

    @Bean
    public JwtUtil getJwtUtil(){
        return new JwtUtil();
    }
}
